home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Works - The Rig…for All Your Daily Tasks / Microsoft Works - The Right Tools for All Your Daily Tasks.iso / stfsetup.inf < prev    next >
INI File  |  1991-11-23  |  36KB  |  1,001 lines

  1. [UI Localizable Vars]
  2. ; name of the ini file. Shouldn't need to be internationalized.
  3. IniFileName = "setup.ini"
  4.  
  5. ; date if the ini file. Used to see whether or not we have run setup before
  6. IniFileDate = "1991-11-24"
  7.  
  8. ; All files which do not explicitly have their dates set in the file lists
  9. ; will use this date.
  10. SHIPDATE = "1991-11-24"
  11.  
  12. ; The the cutom dialog, this is the error when the user presses INSTALL
  13. ; and the NEEDED SPACE is greater than the AVAILABLE SPACE
  14. NotEnoughRoom = "There is not enough room on your hard disk for all "+
  15.     "the Works features you have selected.  Choose OK, and then "+
  16.     "choose Cancel Setup and make more room on your hard disk, or, "+
  17.     "select fewer Works features."
  18.  
  19. ; If a Complete install was chosen, this is the message that comes up if
  20. ; there is not enough room for a complete installation.
  21. CantDoComplete = "There is not enough room on your hard disk for a "+
  22.     "complete installation of all the Microsoft Works features.  "+
  23.     "Your next option will be to cancel Setup and make more room, "+
  24.     "or choose fewer features."
  25.  
  26. ; Appears in the "Space Required" column if all the files inb the group
  27. ; have been installed before
  28. AlreadyExists = Installed
  29.  
  30. ; Appears to the right of the file group sizes in custom dialog (e.g. 23K)
  31. Ksym = K
  32.  
  33. ; Bad path entered in the path dialog
  34. BadPath = "The location that you have chosen to install Works in is "+
  35.     "invalid or not allowed.  Please check the drive and/or directory name."
  36.  
  37. ; Two bottom lines in the custom dialog. Do NOT modify the $(DISK_NEEDED)
  38. ; or the $(DISK_EXIST) strings. The are replaced at run time with the
  39. ; proper values
  40. DiskNeededLine = "Space Required: $(DISK_NEEDED)K."
  41. DiskExistLine = "Space Available: $(DISK_EXIST)K."
  42.  
  43. ; Title of setup error messages
  44. ErrorTitle = "Setup Message"
  45.  
  46. ; Title of Welcome Dialog
  47. WelcomeTitle = "Welcome to Microsoft Works for Windows."
  48.  
  49. ; Help text and title for the cutom dialog. \n's force line feeds
  50. CustomHelpTitle = "Help for Custom Installation"
  51. CustomHelpText = "You can do a complete installation of Works for "+
  52.     "Windows, or a partial one.  The Setup program lists the Works "+
  53.     "features you can choose.  Not installing certain features will "+
  54.     "save disk space, but you will lose functionality.  It is "+
  55.     "recommended that you do a complete installation of all the "+
  56.     "features.\n\nIf there is not enough room on your hard disk, you "+
  57.     "can do one of two things:\n\nA) Cancel Setup and remove other "+
  58.     "files from your hard disk, and then run Setup again to do a "+
  59.     "complete installation.\n\nB) Select fewer Works features by "+
  60.     "clearing the checkbox next to a Works feature you don't want."
  61.  
  62. ; Help text and title for the path dialog. \n's force line feeds
  63. PathHelpTitle = "Help for Destination Path"
  64. PathHelpText = "Setup suggests you install Works in the C:\MSWORKS "+
  65.     "directory.\n\nTo change the location on your hard disk where Works "+
  66.     "will be installed, type a drive letter (usually C), a colon (:), a "+
  67.     "backslash (\\), and then the name of the directory where you want "+
  68.     "Works installed.  For example, type C:\MSWORKS.\n\nIf you are "+
  69.     "unsure what to do, accept the suggested location of C:\MSWORKS."
  70.  
  71. ; Final dialog text
  72. FinishedText = "When you run Works you can choose to start the Tutorial, "+
  73.     "or you can go directly to work with the product.\n\n"+
  74.     "Choose Return to Windows to return to Windows.  Choose Run Works "+
  75.     "to start using Works now."
  76.  
  77. ; Message which comes up if we don't detect any hard disks on their system
  78. ; (so we cannot give a default path).
  79. HardDiskNotFound = "Cannot locate your hard disk.  Please choose the\n"+
  80.                 "OK button and then type the location, or cancel\n"+
  81.                 "Setup and check your computer's configuration."
  82.  
  83. ; What we set the default path string to in the previous case
  84. UNKNOWNPATH = "?"
  85.  
  86. ; Text of the path dialog
  87. DestinationText = "Setup installs files on your hard disk.  Choose the "+
  88.     "location where you want to install the Microsoft Works for Windows "+
  89.     "files.\n\nTo change the suggested location, press the BACKSPACE "+
  90.     "key to delete characters, and then type the drive and directory "+
  91.     "where you want Works installed."
  92.  
  93. ; Cancel Setup dialog text
  94. ExitText = "Microsoft Works for Windows may not be properly installed.  "+
  95.     "If you quit Setup now, you may have to run Setup again.\n\n"+
  96.     "Are you sure you want to cancel?  Choose Cancel Setup to cancel "+
  97.     "Setup, or choose Resume to return to the previous installation "+
  98.     "option."
  99.  
  100. ; Option dialog (Full or Custom) text
  101. CompleteText = "For a complete installation of Microsoft Works "+
  102.     "choose the Complete Installation button.  Setup will "+
  103.     "install Works to the location $(DESTPATH).  This is the "+
  104.     "preferred installation, and is easiest to do.\n\nIf you want "+
  105.     "to specify where Works should be installed, or you only want "+
  106.     "to install part of Works in order to save space on your hard "+
  107.     "disk, choose the Custom Installation button instead."
  108.  
  109. ; Text of the spell dialog
  110. SpellText = "Select the speller and thesaurus language you wish to use "+
  111.     "from the list below, and then choose Continue."
  112.  
  113. ; Text of the dialog appearing while files are being copied
  114. DuringInstallText="Now would be a great time to fill out your "+
  115.     "registration card.  When you send it in, Microsoft will:\n\n"+
  116.     "  - Inform you of product updates.\n  - Offer you customer "+
  117.     "support.\n  - Provide you information about\n    related "+
  118.     "Microsoft products."
  119.  
  120. ; Title and text of message that there is a virus in setup
  121. ; Default destination path for setup (drive letter is replaced with proper
  122. ; one
  123. DESTPATH = "C:\MSWORKS"
  124.  
  125. ; Message when tries to install NOTHING
  126. NoOptionsChecked = "You must check at least one option."
  127.  
  128. ; Install failed because it either couldn't find files or couldn't write
  129. ; them to the destination
  130. InstallError1 = "Setup could not complete the installation.  Possibly "+
  131.     "the hard disk was full, there was a disk error in trying to "+
  132.     "update one of the files, or your Microsoft Works disks are damaged."
  133.  
  134. ; SO little disk space that we couldn't even add to the win.ini
  135. InstallError2 = "Setup could not complete the installation.  Possibly "+
  136.     "the hard disk was full or there was a problem updating the WIN.INI "+
  137.     "file."
  138.  
  139. ; SO little disk space that we couldn't even add to the win.ini or progman
  140. ; Also COULD be because disk error writing the above or to the msworks.exe
  141. InstallError3 = "Setup could not complete the installation.  Possibly "+
  142.     "the hard disk was full, or there was a disk error in trying to "+
  143.     "update one of the files."
  144.  
  145. ; Title, description, and file name for each of the three wizards
  146. Wizard1Desc = "Address Books@The Address Books WorksWizard helps you "+
  147.     "create a database of people's names, addresses and other "+
  148.     "information that's important to you. Once you've "+
  149.     "created an address book, you use the other "+
  150.     "WorksWizards to create form letters and print "+
  151.     "mailing labels.@wizzy1.lsn@2"
  152. Wizard2Desc = "Form Letters@The Form Letters WorksWizard helps you to create "+
  153.     "a personalized letter you can send to many people. When you print, "+
  154.     "Works inserts the names and addresses you selected from the "+
  155.     "address book you created with the Address Books WorksWizard or from "+
  156.     "any Works database.@wizzy1.lsn@3"
  157. Wizard3Desc = "Mailing Labels@The Mailing Labels WorksWizard prints mailing "+
  158.     "labels of any size with names and addresses from an address book "+
  159.     "you have created with the Address Books WorksWizard or from any "+
  160.     "Works database.@wizzy1.lsn@1"
  161.  
  162. ; Name of the progman group we create for EBU apps
  163. ProgManGroup = "Microsoft Works"
  164.  
  165. ; Message if the destination path is on a different path than the windows path
  166. DifferentDrives = "Setup needs to install some files to your Windows "+
  167.     "directory, and Setup has detected that this location is on a "+
  168.     "different hard disk than the one you chose to install Works "+
  169.     "on.\n\nThe next Setup option will show you the space required "+
  170.     "on each of these hard drives."
  171.  
  172. ; If Regload fails... 
  173. RegistrationFailed = "Setup was unable to run REGLOAD.  Please try "+
  174.     "closing other applications and running setup again."
  175.  
  176. ; If doggie demo fails...
  177. DoggieFailed = "Setup was unable to run the introduction.  If you want to "+
  178.     "see the movie, cancel setup, close other applications and try "+
  179.     "running setup again."
  180.  
  181. ; Text for PlayMe dialog
  182. PlaymeText = "Would you like to see a multimedia introduction that "+
  183.     "describes Works, and explains what is on this CD?\n\nThis "+
  184.     "introduction is about two minutes long, and you can stop it at "+
  185.     "any time."
  186.  
  187. ;  Title of Works in the progman group
  188. MSWorks = "Microsoft Works"
  189.  
  190. ; Filename of msworks.exe
  191. MSWorksExe = "msworks.exe"
  192. ; File name of the thesaurus DLL
  193. THESAURDLL = "thesaur.dll"
  194.  
  195. ; Do we want to use the speller list in this localization?
  196. fDoSpellerList = "NO"
  197.  
  198. ; Default speller in the speller list (or speller to use if no list)
  199. DEFSPELLER = "American"
  200. SPELLER = "American"
  201. SpellerName = "Spelling 1033,0"
  202. ; Biggest speller/thesaurus in the speller list  (IMPORTANT!!)
  203. BIGSPELLER = "American"
  204.  
  205. ; Setup title
  206. Setup_Title = "Microsoft Works Setup"
  207.  
  208. ; Filename of note-it.exe
  209. NoteItExe = "note-it.exe"
  210. NoteItPath = "\msapps\note-it\"
  211.  
  212. ; Filename of MSDRAW
  213. MSDrawExe = "msdraw.exe"
  214. MSDrawPath = "\msapps\msdraw\"
  215.  
  216. ; Default name of custom dictionary
  217. CustomName = "custom.dic"
  218.  
  219. BadWindowPath = "Invalid Windows path in your AUTOEXEC.BAT file. "+
  220.         "It must contain a drive letter."
  221.  
  222. NoSoundboard =    "Setup could not find a sound card driver installed on your system. "+
  223.         "MultiMedia Works for Windows will run, but it will not play "+
  224.         "the sound that accompanies animated movies."
  225.  
  226. ; Error if MMWindows is not present in the MM Version
  227. MMWindowsNotFound = "You are using the standard version of Windows 3.0.  "+
  228.     "Setup can not install Multimedia Works unless you are "+
  229.     "running Windows with Multimedia extensions or Windows 3.1."
  230.  
  231. ; Names of the spellers in the speller list
  232. SPELLER-LIST =  { "American", "French"}
  233. ; Format of SpellerTable
  234. ;1              Language (must match name in SPELLER_LIST), 
  235. ;2              speller lex
  236. ;3              thesaurus lex
  237. ;4              speller name to be inserted in the shared apps entry
  238. SpellerTable = { +
  239.         {American, mssp_am.lex, thesaur.lex, "Spelling 1033,0"}, +
  240.         {French, mssp_fr.lex, thesaur.lex, "Spelling 123,0"}, +
  241.         }
  242.  
  243. ; Format of SHAREDIRFILES ('*intl*' means it needs to internationalized):
  244. ;1              KEYNAME *intl*, 
  245. ;2              SECTIONAME,  
  246. ;3              VALUE (what the key should equal), 
  247. ;4              IVALUE1 (where the first path is in the value), 
  248. ;5              VARPATHFILE1 (variable to contain first path\file), 
  249. ;6              FILE1 (name of the first files) *intl*, 
  250. ;7              RELATIVEPATH1 (from c:\windows\msapps\"),
  251. ;8              IVALUE2 (where the first path is in the value), 
  252. ;9              VARPATHFILE2 (variable to contain first path\file), 
  253. ;10     FILE2 (name of the first files) *intl*, 
  254. ;11     RELATIVEPATH2 (from c:\windows\msapps\"),
  255. ;12     IGROUP (which group it is dependent on to be conditionally installed)
  256.  
  257. SHAREDDIRFILES = { +
  258.     {"$(SpellerName)", "MS Proofing Tools", +
  259.         "$(File1),$(File2)", +
  260.         "1", "SH_SP110D", "msspell.dll", "proof",+
  261.         "2", "SH_SP110L", "mssp_am.lex", "proof",+
  262.         "2"}, +
  263.     {"WrdPrfctDOS50", "MS Text Converters", +
  264.         "WordPerfect 5.0,$(File1),doc", +
  265.         "2", "SH_CWP", "wpft5.cnv", "textconv",+
  266.         "0", "", "","textconv",+
  267.         "3"},  +
  268.     {"WrdPrfctDOS", "MS Text Converters", +
  269.         "WordPerfect 5.1,$(File1),doc", +
  270.         "2", "SH_CWP", "wpft5.cnv", "textconv",+
  271.         "0", "", "","textconv",+
  272.         "3"},  +
  273.     {"MSWordWin", "MS Text Converters", +
  274.         "Word for Windows 1.x,$(File1),doc", +
  275.         "2", "SH_CWORD", "wordwin1.cnv", "textconv",+
  276.         "0", "", "","textconv",+
  277.         "3"},  +
  278.     {"Windows Write", "MS Text Converters", +
  279.         "Windows Write,$(File1),wri", +
  280.         "2", "SH_CWRITE", "writwin.cnv", "textconv",+
  281.         "0", "", "","textconv",+
  282.         "3"},  +
  283.     {"MSWorksWin", "MS Text Converters", +
  284.         "Works for Windows 2.0,$(File1),wps", +
  285.         "2", "SH_CWORKS", "wrkswin.cnv", "textconv",+
  286.         "0", "", "","textconv",+
  287.         "3"},  +
  288.     {"Computer Graphics Metafile(.CGM)","MS Graphic Import Filters", +
  289.         "$(File1),CGM", +
  290.         "1","SH_CCGM","cgmimp.flt","grphflt",   +
  291.         "0", "", "","",+
  292.         "3"},  +
  293.     {"Encapsulated Postscript(.EPS)","MS Graphic Import Filters", +
  294.         "$(File1),EPS", +
  295.         "1","SH_CEPS","epsimp.flt","grphflt",   +
  296.         "0", "", "","",+
  297.         "3"},  +
  298.     {"PC Paintbrush(.PCX)","MS Graphic Import Filters", +
  299.         "$(File1),PCX", +
  300.         "1","SH_CPCX","pcximp.flt","grphflt",   +
  301.         "0", "", "","",+
  302.         "3"},  +
  303.     {"Tagged Image Format(.TIF)","MS Graphic Import Filters", +
  304.         "$(File1),TIF", +
  305.         "1","SH_CTIF","tiffimp.flt","grphflt",  +
  306.         "0", "", "","",+
  307.         "3"}+
  308. }
  309.  
  310. ; # = Disk title, a file on the disk, name of directory if on network
  311. ; This is the MultiMedia CD disk layout
  312.  
  313. [Source Media Descriptions]
  314.     1 = "Multimedia Works CD: Microsoft Works Files", TAGFILE = msworks.ex_, +
  315.         NETPATH = "msworks\"
  316.     2 = "Multimedia Works CD: System Files", TAGFILE = mmp.dll, +
  317.         NETPATH = "demo\"
  318.     3 = "Multimedia Works CD: System Files", TAGFILE = winhelp.exe, +
  319.         NETPATH = "kscope\"
  320.  
  321. [Program Files]
  322. EXE = 1,msworks.ex_,RENAME=msworks.exe,SIZE=991808, VERSION="2,0,0,10"
  323. 1,msworks.txt,RENAME=msworks.txt,SIZE=4306
  324. 1,olecli.dl_,RENAME=olecli.dll,SIZE=75264,DEST=$(SYSTEMPATH)"\",$(COPYOLECLI), VERSION="1,2,0,0"
  325. 1,olesvr.dl_,RENAME=olesvr.dll,SIZE=22528,DEST=$(SYSTEMPATH)"\",$(COPYOLESVR), VERSION="1,2,1,0"
  326. 1,shell.dl_,RENAME=shell.dll,SIZE=24384,DEST=$(SYSTEMPATH)"\",$(COPYSHELL), VERSION="3,10,0,43"
  327. 1,smallb.fo_,RENAME=smallb.fon,SIZE=17408
  328. 1,smalle.fo_,RENAME=smalle.fon,SIZE=21504
  329. 1,regload.ex_,RENAME=regload.exe,SIZE=21504,DEST=$(WINDOWSPATH)"\"
  330. 1,msworks.re_,RENAME=msworks.reg,SIZE=2065,DEST=$(WINDOWSPATH)"\",OVERWRITE=ALWAYS
  331. 1,noteit.ex_,RENAME=note-it.exe,SIZE=52576,DEST=$(WINDOWSPATH)$(NoteItPath), VERSION="1,0,0,10"
  332. 1,accounts.wd_,RENAME=accounts.wdb,SIZE=4312
  333. 1,acctsrec.wd_,RENAME=acctsrec.wdb,SIZE=3096
  334. 1,inventry.wd_,RENAME=inventry.wdb,SIZE=6992
  335. 1,salesrep.wk_,RENAME=salesrep.wks,SIZE=2285
  336. 1,hardware.wp_,RENAME=hardware.wps,SIZE=1566
  337. 1,collect.wp_,RENAME=collect.wps,SIZE=1182
  338. 1,flyer.wp_,RENAME=flyer.wps,SIZE=933
  339. 1,amortize.wk_,RENAME=amortize.wks,SIZE=3754
  340. 1,finance.wk_,RENAME=finance.wks,SIZE=3297
  341. 1,logo.bm_,RENAME="clipart\logo.bmp",SIZE=1102
  342. 2,workscbt.exe,RENAME="msworks.cbt\workscbt.exe",SIZE=116624
  343. 2,cbtlib3.dll,RENAME="msworks.cbt\cbtlib3.dll",SIZE=16608
  344. 1,wizzy1.ls_,RENAME="msworks.cbt\wizzy1.lsn",SIZE=333724
  345. 1,fields.wp_,RENAME=fields.wps,SIZE=6057
  346. 1,labelswp._,RENAME="msworks.cbt\labelswp",SIZE=667
  347.  
  348. ;[Help Files]
  349. 1,msdraw.hl_,RENAME=msdraw.hlp,SIZE=528821,DEST=$(WINDOWSPATH)$(MSDrawPath)
  350. 1,noteit.hl_,RENAME=note-it.hlp,SIZE=63245,DEST=$(WINDOWSPATH)$(NoteItPath)
  351. 3,winhelp.exe,RENAME=winhelp.exe,SIZE=250592,DEST=$(WINDOWSPATH)
  352.  
  353. ;[Cbt Files]
  354. 1,mmworks.le_,RENAME="msworks.cbt\mmworks.les",SIZE=1991863
  355. 1,address.wd_,RENAME="msworks.cbt\address.wdb",SIZE=4590
  356. 1,attend.wp_,RENAME="msworks.cbt\attend.wps",SIZE=670
  357. 1,auction.wd_,RENAME="msworks.cbt\auction.wdb",SIZE=3093
  358. 1,auntmadg.wp_,RENAME="msworks.cbt\auntmadg.wps",SIZE=6180
  359. 1,babbitt.wk_,RENAME="msworks.cbt\babbitt.wks",SIZE=1866
  360. 1,balou_c.wp_,RENAME="msworks.cbt\balou_c.wps",SIZE=1054
  361. 1,balou_p.wp_,RENAME="msworks.cbt\balou_p.wps",SIZE=1078
  362. 1,bbath.wd_,RENAME="msworks.cbt\bbath.wdb",SIZE=3039
  363. 1,board.wd_,RENAME="msworks.cbt\board.wdb",SIZE=4950
  364. 1,books.wd_,RENAME="msworks.cbt\books.wdb",SIZE=5821
  365. 1,breeds.wp_,RENAME="msworks.cbt\breeds.wps",SIZE=670
  366. 1,cheese.wd_,RENAME="msworks.cbt\cheese.wdb",SIZE=2204
  367. 1,climbers.wd_,RENAME="msworks.cbt\climbers.wdb",SIZE=15383
  368. 1,coins.wd_,RENAME="msworks.cbt\coins.wdb",SIZE=4551
  369. 1,energy.wk_,RENAME="msworks.cbt\energy.wks",SIZE=2966
  370. 1,florist.wp_,RENAME="msworks.cbt\florist.wps",SIZE=1442
  371. 1,forecast.wk_,RENAME="msworks.cbt\forecast.wks",SIZE=1812
  372. 1,friends.wp_,RENAME="msworks.cbt\friends.wps",SIZE=1054
  373. 1,grant.wp_,RENAME="msworks.cbt\grant.wps",SIZE=6370
  374. 1,herbfarm.wk_,RENAME="msworks.cbt\herbfarm.wks",SIZE=2180
  375. 1,jun05src.wk_,RENAME="msworks.cbt\jun05src.wks",SIZE=813
  376. 1,letter.wp_,RENAME="msworks.cbt\letter.wps",SIZE=6180
  377. 1,lexicone.wp_,RENAME="msworks.cbt\lexicone.wps",SIZE=798
  378. 1,lillooet.wd_,RENAME="msworks.cbt\lillooet.wdb",SIZE=3108
  379. 1,moles.wp_,RENAME="msworks.cbt\moles.wps",SIZE=798
  380. 1,patrons.wd_,RENAME="msworks.cbt\patrons.wdb",SIZE=7615
  381. 1,popcost.wp_,RENAME="msworks.cbt\popcost.wps",SIZE=930
  382. 1,popmemo.wp_,RENAME="msworks.cbt\popmemo.wps",SIZE=798
  383. 1,popsales.wk_,RENAME="msworks.cbt\popsales.wks",SIZE=2595
  384. 1,popsheet.wk_,RENAME="msworks.cbt\popsheet.wks",SIZE=2853
  385. 1,program.wp_,RENAME="msworks.cbt\program.wps",SIZE=2388
  386. 1,resume.wp_,RENAME="msworks.cbt\resume.wps",SIZE=1310
  387. 1,sale1.wp_,RENAME="msworks.cbt\sale1.wps",SIZE=1438
  388. 1,sales.wk_,RENAME="msworks.cbt\sales.wks",SIZE=2357
  389. 1,sheet1_a.wk_,RENAME="msworks.cbt\sheet1_a.wks",SIZE=1405
  390. 1,sheet1_u.wk_,RENAME="msworks.cbt\sheet1_u.wks",SIZE=1151
  391. 1,sumatra.wk_,RENAME="msworks.cbt\sumatra.wks",SIZE=1168
  392. 1,thesis.wp_,RENAME="msworks.cbt\thesis.wps",SIZE=3870
  393. 1,toys_l.wd_,RENAME="msworks.cbt\toys_l.wdb",SIZE=9613
  394. 1,toys_m.wd_,RENAME="msworks.cbt\toys_m.wdb",SIZE=8165
  395. 1,whodunit.wd_,RENAME="msworks.cbt\whodunit.wdb",SIZE=16113
  396. 1,winners.wp_,RENAME="msworks.cbt\winners.wps",SIZE=670
  397. 1,wwfloris.wk_,RENAME="msworks.cbt\wwfloris.wks",SIZE=2627
  398. 1,wyse1.wp_,RENAME="msworks.cbt\wyse1.wps",SIZE=6450
  399. 1,wyse2.wp_,RENAME="msworks.cbt\wyse2.wps",SIZE=6434
  400. 2,demo286.les,RENAME="msworks.cbt\demo286.les",SIZE=4581
  401. 2,demo386.les,RENAME="msworks.cbt\demo386.les",SIZE=4581
  402. 2,demo.ico,RENAME="msworks.cbt\demo.ico",SIZE=766
  403. 2,mmp.dll,RENAME=mmp.dll,SIZE=105072,DEST=$(SYSTEMPATH)"\",VERSION="1,1,0,1"
  404. 2,mcimmp.drv,RENAME=mcimmp.drv,SIZE=21315,DEST=$(SYSTEMPATH)"\",VERSION="1,0,0,131"
  405. 3,hlpaff.dll,RENAME=hlpaff.dll,SIZE=49664,DEST=$(SYSTEMPATH)"\"
  406. 2,movie.dex,RENAME="msworks.cbt\movie.dex",SIZE=7424
  407. 3,kscope.dll,RENAME="kscope.dll",DEST=$(SYSTEMPATH)"\",SIZE=28174
  408. 3,mvaudio.dll,RENAME="mvaudio.dll",DEST=$(SYSTEMPATH)"\",SIZE=11264,VERSION="0,225,0,0"
  409.  
  410. [American Spell Files]
  411. 1,msspell.dl_,RENAME=msspell.dll,SIZE=76800,DEST=$(SH_SP110DP), VERSION="1,0,0,0"
  412. 1,mssp_am.le_,RENAME=mssp_am.lex,SIZE=176839,DEST=$(SH_SP110LP)
  413. 1,thesaur.dl_,RENAME=thesaur.dll,SIZE=11255
  414. 1,thesaur.le_,RENAME=thesaur.lex,SIZE=353587
  415.  
  416. [Draw Files]
  417. 1,msdraw.ex_,RENAME=msdraw.exe,SIZE=574256,DEST=$(WINDOWSPATH)$(MSDrawPath), VERSION="1,0,0,32768"
  418. 1,16colors.pa_,RENAME=16colors.pal,SIZE=162,DEST=$(WINDOWSPATH)$(MSDrawPath)
  419. 1,17grays.pa_,RENAME=17grays.pal,SIZE=162,DEST=$(WINDOWSPATH)$(MSDrawPath)
  420. 1,47colors.pa_,RENAME=47colors.pal,SIZE=238,DEST=$(WINDOWSPATH)$(MSDrawPath)
  421. 1,86colors.pa_,RENAME=86colors.pal,SIZE=394,DEST=$(WINDOWSPATH)$(MSDrawPath)
  422. 1,geni.pa_,RENAME=geni.pal,SIZE=410,DEST=$(WINDOWSPATH)$(MSDrawPath)
  423. 1,2darrow1.wm_,RENAME="clipart\2darrow1.wmf",SIZE=1750
  424. 1,2darrow2.wm_,RENAME="clipart\2darrow2.wmf",SIZE=2742
  425. 1,2doorvan.wm_,RENAME="clipart\2doorvan.wmf",SIZE=7798
  426. 1,3darrow1.wm_,RENAME="clipart\3darrow1.wmf",SIZE=1878
  427. 1,3darrow2.wm_,RENAME="clipart\3darrow2.wmf",SIZE=2422
  428. 1,3darrow3.wm_,RENAME="clipart\3darrow3.wmf",SIZE=1974
  429. 1,3darrow4.wm_,RENAME="clipart\3darrow4.wmf",SIZE=1558
  430. 1,3darrow5.wm_,RENAME="clipart\3darrow5.wmf",SIZE=1430
  431. 1,3dskylne.wm_,RENAME="clipart\3dskylne.wmf",SIZE=7766
  432. 1,5ppuzzle.wm_,RENAME="clipart\5ppuzzle.wmf",SIZE=3766
  433. 1,ambulanc.wm_,RENAME="clipart\ambulanc.wmf",SIZE=8022
  434. 1,binder.wm_,RENAME="clipart\binder.wmf",SIZE=1462
  435. 1,blusedan.wm_,RENAME="clipart\blusedan.wmf",SIZE=9590
  436. 1,books.wm_,RENAME="clipart\books.wmf",SIZE=4470
  437. 1,capitol.wm_,RENAME="clipart\capitol.wmf",SIZE=3414
  438. 1,chekmark.wm_,RENAME="clipart\chekmark.wmf",SIZE=694
  439. 1,circles.wm_,RENAME="clipart\circles.wmf",SIZE=2262
  440. 1,cityview.wm_,RENAME="clipart\cityview.wmf",SIZE=9174
  441. 1,clmnbldg.wm_,RENAME="clipart\clmnbldg.wmf",SIZE=4854
  442. 1,coins.wm_,RENAME="clipart\coins.wmf",SIZE=7798
  443. 1,crowd.wm_,RENAME="clipart\crowd.wmf",SIZE=10038
  444. 1,crutches.wm_,RENAME="clipart\crutches.wmf",SIZE=2966
  445. 1,dictnary.wm_,RENAME="clipart\dictnary.wmf",SIZE=4886
  446. 1,disk35.wm_,RENAME="clipart\disk35.wmf",SIZE=1238
  447. 1,disk525.wm_,RENAME="clipart\disk525.wmf",SIZE=1590
  448. 1,factory.wm_,RENAME="clipart\factory.wmf",SIZE=5270
  449. 1,gears.wm_,RENAME="clipart\gears.wmf",SIZE=5302
  450. 1,gradcap.wm_,RENAME="clipart\gradcap.wmf",SIZE=1334
  451. 1,helicptr.wm_,RENAME="clipart\helicptr.wmf",SIZE=5846
  452. 1,hndwrtng.wm_,RENAME="clipart\hndwrtng.wmf",SIZE=3126
  453. 1,mandesk.wm_,RENAME="clipart\man&desk.wmf",SIZE=3414
  454. 1,man.wm_,RENAME="clipart\man.wmf",SIZE=3510
  455. 1,mapmen.wm_,RENAME="clipart\mapmen.wmf",SIZE=11286
  456. 1,money.wm_,RENAME="clipart\money.wmf",SIZE=2678
  457. 1,multarw1.wm_,RENAME="clipart\multarw1.wmf",SIZE=726
  458. 1,multarw2.wm_,RENAME="clipart\multarw2.wmf",SIZE=790
  459. 1,multarw4.wm_,RENAME="clipart\multarw4.wmf",SIZE=982
  460. 1,nurse.wm_,RENAME="clipart\nurse.wmf",SIZE=4150
  461. 1,policecr.wm_,RENAME="clipart\policecr.wmf",SIZE=8726
  462. 1,running.wm_,RENAME="clipart\running.wmf",SIZE=7190
  463. 1,schlfish.wm_,RENAME="clipart\schlfish.wmf",SIZE=5110
  464. 1,speaker.wm_,RENAME="clipart\speaker.wmf",SIZE=9398
  465. 1,star.wm_,RENAME="clipart\star.wmf",SIZE=630
  466. 1,thermmtr.wm_,RENAME="clipart\thermmtr.wmf",SIZE=2134
  467. 1,triangle.wm_,RENAME="clipart\triangle.wmf",SIZE=790
  468. 1,vichouse.wm_,RENAME="clipart\vichouse.wmf",SIZE=9526
  469. 1,woman.wm_,RENAME="clipart\woman.wmf",SIZE=5302
  470. 1,yacht.wm_,RENAME="clipart\yacht.wmf",SIZE=5750
  471.  
  472. [Converter Files]
  473. 1,wpft5.cn_,RENAME=wpft5.cnv,SIZE=172352,DEST=$(SH_CWPP)
  474. 1,wordwin1.cn_,RENAME=wordwin1.cnv,SIZE=142848,DEST=$(SH_CWORDP)
  475. 1,writwin.cn_,RENAME=writwin.cnv,SIZE=71168,DEST=$(SH_CWRITEP)
  476. 1,wrkswin.cn_,RENAME=wrkswin.cnv,SIZE=89264,DEST=$(SH_CWORKSP)
  477. 1,pcximp.fl_,RENAME=pcximp.flt,SIZE=12912,DEST=$(SH_CPCXP), VERSION="2,0,0,32768"
  478. 1,cgmimp.fl_,RENAME=cgmimp.flt,SIZE=44640,DEST=$(SH_CCGMP), VERSION="2,0,0,32768"
  479. 1,tiffimp.fl_,RENAME=tiffimp.flt,SIZE=58880,DEST=$(SH_CTIFP), VERSION="2,0,0,32768"
  480. 1,epsimp.fl_,RENAME=epsimp.flt,SIZE=71648,DEST=$(SH_CEPSP), VERSION="2,0,0,32768"
  481.  
  482. [UI Temp Vars]
  483. MODE = FULL
  484. ANYFILESEXIST = "FALSE"
  485. OPTIONS-PICKED = {ON, ON, ON, ON}
  486. GROUPLIST = {"Program Files", $(SPELLER)" Spell Files", "Converter Files", "Draw Files"}
  487.  
  488. [MultiMedia File Groups]
  489. @("Program Files")
  490. @($(SPELLER)" Spell Files")
  491. @("Converter Files")
  492. @("Draw Files")
  493.  
  494. [Shell Commands]
  495.     read-syms    "UI Localizable Vars"
  496.     read-syms    "UI Temp Vars"
  497.     set-title    $(Setup_Title)
  498.     set-subst    CustomHelpText = $(CustomHelpText)
  499.     set-subst    PathHelpText = $(PathHelpText)
  500.     set-subst    MMWindowsNotFound = $(MMWindowsNotFound)
  501.     set-subst    DestinationText = $(DestinationText)
  502.     set-subst    FinishedText = $(FinishedText)
  503.     set-subst    ExitText = $(ExitText)
  504.     set-subst    CompleteText = $(CompleteText)
  505.     set-subst     DuringInstallText = $(DuringInstallText)
  506.     set-subst     InsertDisk = $(InsertDisk)
  507.     set-subst     PlaymeText = $(PlaymeText)
  508.     set COPYSHELL = "COPY"
  509.     set COPYOLECLI = "COPY"
  510.     set COPYOLESVR = "COPY"
  511.  
  512. ;    set SPELLER = $(BIGSPELLER)
  513.     set fdbDoFileInstall = "YES"
  514.  
  515.     ui    start "InitStuff"
  516.     ui    start "FRunBefore"
  517.     set fRunBefore = $(ANSWER)
  518.  
  519.     ui    start    "DetectMMWindows"
  520.     IfStr(I) $(ANSWER) == "NO"
  521.         set-subst szText = $(MMWindowsNotFound)
  522.         ui    start "MessageBox"
  523.         goto "exit"
  524.     endif
  525.  
  526.     ui start "CPU"
  527.     ifint $(ANSWER) > "286"
  528.         set szFile = "setup386.les"
  529.         set demofile = "demo386.les"
  530.     else
  531.         set szFile = "setup286.les"
  532.         set demofile = "demo286.les"
  533.     endif
  534.  
  535.     ui    start "FWaveOutDev"
  536.     IfStr(I) $(ANSWER) == "YES"
  537.         goto PlayMe
  538.     endif
  539.  
  540.     set-subst szText = $(NoSoundboard)
  541.     ui    start "MessageBox"
  542.  
  543. PlayMe = set from = PlayMe
  544.     ui start "PlayMeDialog"
  545.     ifstr(i) $(DLGEVENT) == "YES"
  546.         ui  pop 1
  547.         set szPath = $(STF_SRCDIR)"demo"
  548.         ui      start   "ChDriveDir"
  549.         ui      start   "RunPlayMeApp"
  550.         ifstr(I) $(ANSWER) != "YES"
  551.             set-subst szText = $(DoggieFailed)
  552.             ui      start   "MessageBox"
  553.         else
  554.             set fCbtRunning = "YES"
  555.         endif
  556.     else-ifstr(i) $(DLGEVENT) == "EXIT"
  557.         goto "quit"
  558.     else
  559.          ui  pop 1
  560.     endif
  561.  
  562.     ; Keep don't continue until the CBT is finished if it is running
  563.     ifstr(i) $(fCbtRunning) == "YES"
  564.         ui start "WaitForCbt"
  565.     endif
  566.     ui    start "GetWindowsDirectory"
  567.     IfStr(I) $(ANSWER) == "NO"
  568.         set-subst szText = $(BadWindowPath)
  569.         ui    start "MessageBox"
  570.         goto "exit"
  571.     endif
  572.     ui    start "GetSystemDirectory"
  573.     ForListDo    $(SHAREDDIRFILES)
  574.         set rginfo = $($)
  575.         ; First variable
  576.         set *($(rginfo), 5)P = $(WINDOWSPATH)"\msapps\"*($(rginfo), 7)"\"
  577.  
  578.         ; Second variable, if it exists
  579.         IfInt *($(rginfo), 8) != 0
  580.             set *($(rginfo), 9)P = $(WINDOWSPATH)"\msapps\"*($(rginfo), 11)"\"
  581.         endif
  582.  
  583.         ; See if already exist in ini file        
  584.         set iniSect = *($(rginfo), 2)
  585.         set-subsym iniKey = *($(rginfo), 1)
  586.         ui    start "DetectIniLine"
  587.         ;If they have a value already, then replace the default path
  588.         IfStr(I)  $(LINE) !=  ""
  589.             ; Get path/filename
  590.             set WHERE = *($(rginfo), 4)
  591.             ui    start    "GetPieceFromLine"
  592.             
  593.             IfStr(I) $(szParsePiece) != ""
  594.                 ui    start    FExist
  595.                 IfStr(I) $(ANSWER) == "YES"
  596.                     ; Get path from the ini line
  597.                     ui    start    "GetPathFromParsePiece"
  598.  
  599.                     IfStr(I) $(ANSWER) == "YES"
  600.                         ; Set variable to their path
  601.                         set *($(rginfo), 5)P = $(szPath)
  602.                     endif
  603.                 endif
  604.             endif
  605.             IfInt *($(rginfo), 8) != 0
  606.                 set WHERE = *($(rginfo), 8)
  607.                 ui    start    "GetPieceFromLine"
  608.                 IfStr(I) $(szParsePiece) != ""
  609.                     ui    start    FExist
  610.                     IfStr(I) $(ANSWER) == "YES"
  611.                         ; Get path from the ini line
  612.                         ui    start    "GetPathFromParsePiece"
  613.  
  614.                         IfStr(I) $(ANSWER) == "YES"
  615.                             ; Set variable to their path
  616.                             set *($(rginfo), 9)P = $(szPath)
  617.                         endif
  618.                     endif    ;ANSWER
  619.                 endif    ; file!=""
  620.             endif    ;table entry != ""
  621.         endif    ;line != ""
  622.     EndForListDo
  623.  
  624.     ; Handle custom dictionary
  625.     set CustomSpeller = $(WINDOWSPATH)"\msapps\proof\"$(CustomName)
  626.     set iniSect = "MS Proofing Tools"
  627.     set-subsym iniKey = "Custom Dict 1"
  628.     ui    start "DetectIniLine"
  629.     set szParsePiece = $(LINE)
  630.     IfStr(I) $(szParsePiece) != ""
  631.         ui    start    FExist
  632.         IfStr(I) $(ANSWER) == "YES"
  633.             set CustomSpeller = $(LINE)
  634.         endif
  635.     endif
  636.      set    szParsePiece = $(CustomSpeller)
  637.      ui    start    "GetPathFromParsePiece"
  638.      set    SpellerPath = $(szPath)
  639.  
  640. welcome =  set from = welcome
  641.     ui    start    "Welcome"
  642.     ifstr(i) $(DLGEVENT) == "CONTINUE"
  643.         ui  pop 1
  644.         goto "init"
  645.     else-ifstr(i) $(DLGEVENT) == "EXIT"
  646.         goto "quit"
  647.     else
  648.         install "Error - info"
  649.         goto error
  650.     endif
  651.  
  652. init =    Init-System    1, $(IniFileName)
  653.     ui  start "FixupDestPath" 
  654.     set-subsym    CompleteText = $(CompleteText)
  655.  
  656. full =    set from = full
  657.     
  658.     set MODE = ""
  659.     ui    start   "Full"
  660.     ifstr(i) $(DLGEVENT) == "CONTINUE"
  661.         ui  pop 1
  662.         ifstr(i) $(MODE) == "CUSTOM"
  663.             set WhereNext = "custom"
  664.             goto "path"
  665.         else-ifstr(i) $(MODE) == "FULL"
  666.             ;    Fix path up
  667.             ui  start "FixupDestPath" 
  668.  
  669.             ;     Found hard drive
  670.             IfStr(I) $(ANSWER) == "YES"
  671.                 ui    start    "StartWait"
  672.                 ui    start    "DoFileLookups" 
  673.                 ui    start    "EndWait"
  674. EnoughSpace=            ui    start    "FEnoughSpace"
  675.                 ifstr(i) $(ANSWER) == "YES"
  676.                     goto "spellerlist"
  677.                 else
  678.                     set-subst szText = $(CantDoComplete)
  679.                     ui    start "MessageBox"
  680.                     goto "custom2"
  681.                 endif
  682.             else    ; no find hard drive
  683.                 ; 'path' will put up error
  684.                 set WhereNext = "EnoughSpace"
  685.                 goto "path"
  686.             endif
  687.         endif
  688.  
  689.     else-ifstr(i) $(DLGEVENT) == "EXIT"
  690.         goto "quit"
  691.     else
  692.         detect "Error - full"
  693.         goto error
  694.     endif
  695.  
  696. path  = set from = path
  697.     ui  start "FixupDestPath" 
  698.     IfStr(I) $(ANSWER) == "NO"
  699.         set-subst szText = $(HardDiskNotFound)
  700.         ui    start "MessageBox"
  701.         set EditTextIn = $(UNKNOWNPATH)
  702.         set EditFocus = ALL          ; END | START | ALL
  703.     else
  704.         set EditTextIn = $(DESTPATH)
  705.         set EditFocus = END          ; END | START | ALL
  706.     endif
  707.     
  708.     set HelpText = $(PathHelpText)
  709.     set HelpTitle = $(PathHelpTitle)
  710.     ui      start   "Path"
  711.     ifstr(i) $(DLGEVENT) == "CONTINUE"
  712.         ui  pop 1
  713.         set DESTPATH = $(EditTextOut)
  714.     ui    start    "StartWait"
  715.     ui    start    "DoFileLookups" 
  716.     ui    start    "EndWait"
  717.         goto $(WhereNext)
  718.     else-ifstr(i) $(DLGEVENT) == "EXIT"
  719.         set DESTPATH = $(EditTextOut)
  720.         goto "quit"
  721.     else
  722.         install "Error - edit"
  723.         goto error
  724.     endif
  725.  
  726. custom = set    dir1 = $(WINDOWSPATH)
  727.     set    dir2 = $(DESTPATH)
  728.     ui    start    "SameDrive"
  729.     IfStr(I) $(ANSWER) == "NO"
  730.         set-subst szText = $(DifferentDrives)
  731.         ui    start "MessageBox"
  732.     endif
  733.  
  734. custom2 = set SZCUSTOM1 = ""
  735.     set    SZCUSTOM2 = ""
  736.     set from = custom2
  737.     set HelpText = $(CustomHelpText)
  738.     set HelpTitle = $(CustomHelpTitle)
  739.     ui      start   "Custom"
  740.     ifstr(i) $(DLGEVENT) == "CONTINUE"
  741.         set ANSWER = "NO"
  742.         ForListDo    $(OPTIONS-PICKED)
  743.             IfStr(I) $($)  ==  "ON"
  744.                 set ANSWER = "YES"
  745.             endif
  746.         EndForListDo
  747.         ifstr(i) $(ANSWER) == "NO"
  748.             set-subst szText = $(NoOptionsChecked)
  749.             ui    start "MessageBox"
  750.             goto "custom2"
  751.         endif
  752.             
  753.         ui  pop 1
  754.         goto "spellerlist"
  755.     else-ifstr(i) $(DLGEVENT) == "EXIT"
  756.         goto "quit"
  757.     else
  758.         detect "Error - custom"
  759.         goto error
  760.     endif
  761.  
  762. spellerlist =    ifstr(I) *($(OPTIONS-PICKED), 2) == "OFF"
  763.                     goto "installnow1"      
  764.                 endif
  765.     set ListItemsIn = $(SPELLER-LIST)
  766.     set from = spellerlist
  767.     set ListItemsOut = $(DEFSPELLER)        ; default selection
  768.     set SPELLER = $(DEFSPELLER)             ; default selection
  769.     ifstr(i) $(fDoSpellerList) == "NO"
  770.         goto "SkipDlg"
  771.     endif
  772.     ui      start   "List"
  773.     set SPELLER = $(ListItemsOut)
  774.     ifstr(i) $(DLGEVENT) == "CONTINUE"
  775.         ui  pop 1
  776. SkipDlg =     ForListDo    $(SpellerTable)
  777.             set rginfo = $($)
  778.             ifstr(i) *($(rginfo), 1) == $(SPELLER)
  779.                 ; Speller lex variable
  780.                 set SH_SP110LF = *($(rginfo), 2)
  781.                 set thesaur_lex = *($(rginfo), 3)
  782.                 set SpellerName = *($(rginfo), 4)
  783.             endif
  784.         EndForListDo
  785.  
  786.         goto "installnow1"      
  787.     else-ifstr(i) $(DLGEVENT) == "EXIT"
  788.         goto "quit"
  789.     else
  790.         debug-msg "Error - list"
  791.         goto error
  792.     endif
  793.  
  794. quit  = ui    start  "Quit"
  795.     ifstr(i) $(DLGEVENT) == "RESUME"
  796.         ui  pop 1
  797.         goto $(from)
  798.     else
  799.         goto "exit"
  800.     endif
  801.  
  802. exit =  exit
  803.  
  804. error = write-symtab "shl-st2.new"
  805.     exit
  806.  
  807. installnow1 =     set-subst szText = $(DuringInstallText)
  808.     ui    start    "Modeless"
  809.  
  810.     ; If a DLL is running, then set the corresponding DOxxx to ;
  811.     set    szFile = "SHELL.DLL"
  812.     ui    start    "FRunning"
  813.     ifstr(i) $(ANSWER) == "YES"
  814.         set COPYSHELL = "!COPY"
  815.     endif
  816.  
  817.     set    szFile = "OLECLI.DLL"
  818.     ui    start    "FRunning"
  819.     ifstr(i) $(ANSWER) == "YES"
  820.         set COPYOLECLI = "!COPY"
  821.     endif
  822.  
  823.     set    szFile = "OLESVR.DLL"
  824.     ui    start    "FRunning"
  825.     ifstr(i) $(ANSWER) == "YES"
  826.         set COPYOLESVR = "!COPY"
  827.     endif
  828.  
  829.     ui    start    "FixupDestPathForIntl"
  830.     install    "Install-Files"
  831.     ifstr(I) $(STF_INSTALL_OUTCOME) == "STF_USERQUIT"
  832.         goto "exit"
  833.     endif
  834.     ifstr(I) $(STF_INSTALL_OUTCOME) != "STF_SUCCESS"
  835.         set-subst szText = $(InstallError1)
  836.         ui    start    "MessageBox"
  837.         goto "exit"
  838.     endif
  839.  
  840.     ui    start    "StartWait"
  841.     install    "Install-Shared"
  842.     ifstr(I) $(STF_INSTALL_OUTCOME) != "STF_SUCCESS"
  843.         ui    start    "EndWait"
  844.         set-subst szText = $(InstallError2)
  845.         ui    start    "MessageBox"
  846.         goto "exit"
  847.     endif
  848.  
  849.     ui    pop    1
  850.  
  851.     ui    start    "FixupPrinter"
  852.     install    "Install-ProgMan"
  853.     ifstr(I) $(STF_INSTALL_OUTCOME) != "STF_SUCCESS"
  854.         ui    start    "EndWait"
  855.         set-subst szText = $(InstallError3)
  856.         ui    start    "MessageBox"
  857.         goto "exit"    
  858.     endif
  859.  
  860.     ; Register OLE
  861.     ifstr(I) *($(OPTIONS-PICKED), 1) == "ON"
  862.         set    lf = "\r\n"
  863.         set-subst    lf = $(lf)
  864.         set    File = $(WINDOWSPATH)"\msworks.reg"
  865.         set    To = $(DESTPATH)"\"$(MSWorksExe)" %1"$(lf)
  866.         set    From = $(MSWorksExe)" %1"$(lf)
  867.         ui    start "FileFilter"
  868.  
  869.         set    File = $(WINDOWSPATH)"\msworks.reg"
  870.         set    To = $(DESTPATH)"\"$(MSWorksExe)$(lf)
  871.         set    From = $(MSWorksExe)$(lf)
  872.         ui    start "FileFilter"
  873.  
  874.         set    File = $(WINDOWSPATH)"\msworks.reg"
  875.         set    To = $(WINDOWSPATH)$(NoteItPath)$(NoteItExe)$(lf)
  876.         set    From = $(NoteItExe)$(lf)
  877.         ui    start "FileFilter"
  878.  
  879.         set    File = $(WINDOWSPATH)"\msworks.reg"
  880.         set    To = $(WINDOWSPATH)$(MSDrawPath)$(MSDrawExe)$(lf)
  881.         set    From = "MSDRAW.EXE"$(lf)
  882.         ui    start "FileFilter"
  883.  
  884.         set szFile = $(WINDOWSPATH)"\regload.exe /s msworks.reg"
  885.         ui    start    "RunExe"
  886.         ifstr(I) $(ANSWER) != "YES"
  887.             set-subst szText = $(RegistrationFailed)
  888.             ui    start    "MessageBox"
  889.             ui    start    "EndWait"
  890.             goto "exit"
  891.         endif
  892.     endif
  893.     ui    start    "EndWait"
  894.  
  895. exitdlg =    ui      start   "Exit"
  896.     ui  pop 1
  897.     ifstr(i) $(DLGEVENT) == "R"
  898.         set szPath = $(DESTPATH)
  899.         ui    start    "ChDriveDir"
  900.         set szFile = $(DESTPATH)"\"$(MSWorksExe)
  901.         ui    start    "StartWait"
  902.         ui    start    "RunExe"
  903.         ui    start    "EndWait"
  904.     endif
  905. exit
  906.  
  907. [Install-Shared]
  908. ; Add shared files to win.ini
  909. ForListDo    $(SHAREDDIRFILES)
  910.      ; Only install it if the group was checked
  911.     set rginfo = $($)
  912.     Ifstr(i) *($(OPTIONS-PICKED), *($(rginfo), 12)) == "ON"
  913.         CreateIniSection "WIN.INI", *($(rginfo), 2)
  914.          set File1 = $(*($(rginfo), 5)P)*($(rginfo), 6)
  915.          IfInt *($(rginfo), 8) != 0
  916.              set-subsym File2 = $(*($(rginfo), 9)P)*($(rginfo), 10)
  917.          endif
  918.          Set-Subsym sz = *($(rginfo), 3)
  919.          Set-Subsym sz2 = *($(rginfo), 1)
  920.          CreateIniKeyValue "WIN.INI", *($(rginfo), 2), $(sz2), $(sz), O
  921.     endif
  922.     CreateIniKeyValue "SYSTEM.INI", "MCI", "Animation", "mcimmp.drv", O
  923. EndForListDo
  924.  
  925. ifstr(I) *($(OPTIONS-PICKED), 2) == "ON"
  926.     CreateDir $(SpellerPath), V
  927.     CreateIniKeyValue "WIN.INI", "MS Proofing Tools", +
  928.         "Custom Dict 1", $(CustomSpeller), O
  929. endif
  930. exit
  931.  
  932. [Install-ProgMan]
  933. ;    Add extentions to ini
  934. CreateIniSection "WIN.INI", "Extensions"
  935. CreateIniKeyValue "WIN.INI", "Extensions", "wdb", $(DESTPATH)"\"$(MSWorksExe)" ^.wdb", O
  936. CreateIniKeyValue "WIN.INI", "Extensions", "wps", $(DESTPATH)"\"$(MSWorksExe)" ^.wps", O
  937. CreateIniKeyValue "WIN.INI", "Extensions", "wks", $(DESTPATH)"\"$(MSWorksExe)" ^.wks", O
  938. ifstr(I) *($(OPTIONS-PICKED), 1) == "ON"
  939.     CreateIniSection $(WINDOWSPATH)"\msworks.ini", "Wizards"
  940.     CreateIniKeyValue $(WINDOWSPATH)"\msworks.ini", "Wizards", "Wizard1", +
  941.         $(Wizard1Desc), O
  942.     CreateIniKeyValue $(WINDOWSPATH)"\msworks.ini", "Wizards", "Wizard2", +
  943.         $(Wizard2Desc), O
  944.     CreateIniKeyValue $(WINDOWSPATH)"\msworks.ini", "Wizards", "Wizard3", +
  945.         $(Wizard3Desc), O
  946.     CreateIniSection "win.ini", "OLE"
  947.     CreateIniKeyValue "win.ini", "OLE", "nomessagebox", "yes"
  948. endif    
  949.  
  950. CreateIniSection $(WINDOWSPATH)"\msworks.ini", "MS Works"
  951. CreateIniKeyValue $(WINDOWSPATH)"\msworks.ini", "MS Works", +
  952.     "FMultiMedia", "1", O
  953. CreateIniKeyValue $(WINDOWSPATH)"\win.ini", "MM Works", +
  954.     "Path", $(STF_SRCDIR), O
  955. ifstr(I) *($(OPTIONS-PICKED), 1) == "ON"
  956.     CreateIniKeyValue $(WINDOWSPATH)"\msworks.ini", "MS Works", +
  957.     "DoWelcome", "1", O
  958. else
  959.     CreateIniKeyValue $(WINDOWSPATH)"\msworks.ini", "MS Works", +
  960.     "DoWelcome", "0"
  961. endif
  962.  
  963. ifstr(I) *($(OPTIONS-PICKED), 2) == "ON"
  964.     CreateIniSection $(WINDOWSPATH)"\msworks.ini", "Word Processor"
  965.     CreateIniKeyValue $(WINDOWSPATH)"\msworks.ini", "Word Processor", +
  966.         "Speller", $(SpellerName), O
  967.     CreateIniKeyValue $(WINDOWSPATH)"\msworks.ini", "Word Processor", +
  968.         "CustomDict", "Custom Dict 1", O
  969.  
  970.     CreateIniSection $(WINDOWSPATH)"\msworks.ini", "Thesaurus"
  971.     CreateIniKeyValue $(WINDOWSPATH)"\msworks.ini", "Thesaurus", +
  972.         "LibPath", $(DESTPATH)"\"$(THESAURDLL), O
  973.     CreateIniKeyValue $(WINDOWSPATH)"\msworks.ini", "Thesaurus", +
  974.         "DictPath", $(DESTPATH)"\"$(thesaur_lex), O
  975. endif
  976.  
  977. ;    Add group and files to group
  978. ifstr(I) *($(OPTIONS-PICKED), 1) == "ON"
  979.     CreateProgManGroup    $(ProgManGroup), "" 
  980.     ShowProgManGroup    $(ProgManGroup), "1" 
  981.     CreateProgManItem    $(ProgManGroup), $(MSWorks), $(DESTPATH)"\"$(MSWorksExe)
  982.  
  983.     CreateProgManItem    $(ProgManGroup), "Introducing Works,"+
  984.                 $(DESTPATH)"\msworks.cbt\demo.ico,0", +
  985.                 $(DESTPATH)"\msworks.cbt\workscbt.exe "$(demofile)
  986.     CreateProgManItem    $(ProgManGroup), "Troubleshooting", $(DESTPATH)"\msworks.txt"
  987.     Close-System "Program Files", "EXE", $(DESTPATH), "291", "191"
  988. endif
  989. exit
  990.  
  991. [Install-Files]
  992. set STF_DATE = $(SHIPDATE)
  993. set STF_OVERWRITE = OLDER
  994. ForListDo    $(OPTIONS-PICKED)
  995.     IfStr(I) $($)  ==  "ON"
  996.             AddNthSectionFileToCopyList "MultiMedia File Groups", $(#), $(STF_SRCDIR), $(DESTPATH)
  997.     endif
  998. EndForListDo
  999. CopyFilesInCopyList
  1000. exit
  1001.